package com.yx.modules.api.service;


import com.yx.modules.api.entity.TbBookRecommendRecord;

import java.util.List;
import java.util.Map;

/**
 * 图书推荐记录
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-07-04 18:14:32
 */
public interface TbBookRecommendRecordService {
	
	TbBookRecommendRecord queryObject(Integer id);
	
	List<TbBookRecommendRecord> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbBookRecommendRecord bookRecommendRecord);
	
	void update(TbBookRecommendRecord bookRecommendRecord);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

    TbBookRecommendRecord findByBookidAndUserid(Integer userId, Integer id);
}
